package com.ggkt.module.organizationalStruture.domain;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.BeanUtils;
import java.util.LinkedList;


@Data
@ToString
public class OrganizationTree extends DtDept {
    private LinkedList<OrganizationTree> children;

    private LinkedList<DingtalkUsers> deptUsers;

    public OrganizationTree(){
    }
    public OrganizationTree(DtDept dtDept){
        BeanUtils.copyProperties(dtDept,this);
    }
}
